package edu.sctu.practice.class02.qiuyangyang.text01;

/**
 * Created by Administrator on 2015/10/9 0009.
 */
public class A {
    public static void main(String[] args) {


        int v = 100;

        Guess num = new Guess();
        int a = num.getNumber();


        if (v < a) {
            System.out.println("很遗憾！猜大了");

        } else if (v > a) {
            System.out.println("很遗憾！猜小了");

        } else {
            System.out.println("恭喜你！猜中了!");

        }


    }

}
